package com.bwie.mapper;

import com.bwie.pojo.po.MonthCar;
import com.bwie.pojo.vo.MonthCarVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface MonthCarMapper {

    void addMonthCar(MonthCar monthCar);


    //更新有效天数
    void updTimes();

    //有效天数小于0更改状态
    void updState();

    MonthCar selectMonthCar(@Param("parkId") Integer parkId, @Param("carCard") String carCard, @Param("date") Date date);

    List<MonthCarVo> selectMonthCatByTime();
}
